package com.hotai.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotai.comment.pojo.Course;
import com.hotai.comment.pojo.Courseware;
import com.hotai.comment.pojo.User;
import com.hotai.vo.course.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

@Mapper
public interface CourseMapper extends BaseMapper<Course> {

    void deleteId(@Param("eid") Integer eid);

    ArrayList<CourseDetailList> courseDatail(@Param("queryware") CourseDetail queryware);

    void deleteCourse(@Param("cid") Integer cid,@Param("wid") Integer wid);

    ArrayList<CourseWareTear> courseDatailTea(@Param("query") CoursePage query);

    ArrayList<CouserEquList> courseDatailEqu(@Param("query") CoursePage query);

    ArrayList<CourseDetailList> courseTearDatail(@Param("queryware") CourseDetail queryware);
}
